diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-30 18:50:20 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-30 18:50:20 +0100 |
| commit | a5728591c5341fe8b64060916baf735bc2438eb2 (patch) | |
| tree | 172fb0bfcb3ce9e199bb486186ac5e1be246d5cc /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | a58b3ccb4d1b90dd5daeef04f5308ee06d3c64cb (diff) | |
Generate separate WASM data segments
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 2 insertions, 2 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 6561a3ef..3736a3e2 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -13,12 +13,12 @@ Function[1]: Code[1]: - func[0] size=8 <f> Data[1]: - - segment[0] <.data> memory=0 size=9 - init i32=0 + - segment[0] <.data.shed__string__0> memory=0 size=9 - init i32=0 - 0000000: 0500 0000 6865 6c6c 6f ....hello Custom: - name: "linking" - segment info [count=1] - - 0: .data p2align=2 [ ] + - 0: .data.shed__string__0 p2align=2 [ ] - symbol table [count=2] - 0: F <f> func=0 [ binding=global vis=default ] - 1: D <shed__string__0> segment=0 offset=0 size=9 [ binding=global vis=default ] |
